import Vue from 'vue'
import App from './App'
import store from './store'
import config from './config'
import $http from '@/api/login';
import utils from '@/utils/utils';

import regular from '@/api/regular';
import dfu from '@/api/dfu/dfu.js'



// 挂载 全局方法
Vue.prototype.$http = $http;
Vue.prototype.$store = store;
Vue.prototype.$config = config;
Vue.prototype.$toast = utils.toast;
Vue.prototype.$regular = regular;
Vue.prototype.$utils = utils;
Vue.prototype.$dfu = dfu;

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
	store,
    ...App
})
app.$mount()
